Contextual Menu Selection Type Constants
The following constants are returned in the
outUserSelectionType
parameter of the function
ContextualMenuSelect
to specify what the user selected from the contextual menu. Contextual menu selection type constants are available with Appearance Manager 1.0 and later.
enum{
kCMNothingSelected = 0,
kCMMenuItemSelected = 1,
kCMShowHelpSelected = 3
};
Constant descriptions
-
kCMNothingSelected
-
The user did not choose an item from the contextual menu and the application should do no further processing of the event.
-
kCMMenuItemSelected
-
The user chose one of the application's items from the menu. The application can examine the
outMenuID
and
outMenuItem
parameters of
ContextualMenuSelect
to see what the menu selection was, and it should then handle the selection appropriately.
-
kCMShowHelpSelected
-
The user chose the Help item from the menu. The application should open an Apple Guide database to a section appropriate for the selection. If the application supports some other form of help, it should be presented instead.
© 1998 Apple Computer, Inc. - (Last Updated 19 Nov 98)Previous | Back Up One Level | Next |